package org.jeecg.modules.sistersophie.service;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.sistersophie.entity.StudentInfo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @Description: t_student_info
 * @Author: jeecg-boot
 * @Date:   2021-05-23
 * @Version: V1.0
 */
public interface IStudentInfoService extends IService<StudentInfo> {

    List<StudentInfo> selectByNameNotIn(String firstName,String lastName, Integer notId);

    List<StudentInfo> selectByEmailNotIn(String email, Integer notId);

    List<StudentInfo> selectByChineseNameNotIn(String chineseName, Integer notId);

    List<StudentInfo> selectByPhoneNotIn(String phone,Integer notId);

    IPage<StudentInfo> selectStudentInfoAndNotInCourse(IPage<StudentInfo> page, @Param("searchVo") StudentInfo searchVO);

    List<StudentInfo> selectStudentList(Wrapper<StudentInfo> queryWrapper);


}
